package com.simtop.service;

import com.simtop.domain.LeaveWord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lvyongwei
 */
public interface LeaveWordService {

    /**
     * 添加留言信息
     * @param leaveWord
     * @return
     */
    public boolean insertLeaveWord(LeaveWord leaveWord);

    /**
     * 获取留言信息
     * @param leaveWord
     * @return
     */
    public List<LeaveWord> getAllLeaveWord(LeaveWord leaveWord);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public boolean deleteLeaveWord(@Param("list") List<Long> ids);
}
